import request from '@/utils/request'

// 查询报查询与导出记录列表
export function listDispatchReportQueryExportRecords(query) {
  return request({
    url: '/system/dispatchReportQueryExportRecords/list',
    method: 'get',
    params: query
  })
}

// 查询报查询与导出记录详细
export function getDispatchReportQueryExportRecords(reportQueryExportRecordsId) {
  return request({
    url: '/system/dispatchReportQueryExportRecords/' + reportQueryExportRecordsId,
    method: 'get'
  })
}

// 新增报查询与导出记录
export function addDispatchReportQueryExportRecords(data) {
  return request({
    url: '/system/dispatchReportQueryExportRecords',
    method: 'post',
    data: data
  })
}

// 修改报查询与导出记录
export function updateDispatchReportQueryExportRecords(data) {
  return request({
    url: '/system/dispatchReportQueryExportRecords',
    method: 'put',
    data: data
  })
}

// 删除报查询与导出记录
export function delDispatchReportQueryExportRecords(reportQueryExportRecordsId) {
  return request({
    url: '/system/dispatchReportQueryExportRecords/' + reportQueryExportRecordsId,
    method: 'delete'
  })
}
